package com.bsoft.ecommerce.goods;
 // 简单商品信息

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@ApiModel(description = "简单商品信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SimpleGoodsInfo implements Serializable {

    @ApiModelProperty(value = "商品表主键")
    private Long  id;
    @ApiModelProperty(value = "商品名称")
    private String  goodsName;
    @ApiModelProperty(value = "商品图片")
    private  String goodsPic;
    @ApiModelProperty(value = "商品价格")
    private Integer prince;
    public  SimpleGoodsInfo(Long id){
        this.id= id;
    }
}
